﻿/***********************************************************************************************
 * 
 * ProjectName: WMSSoft.Lib.WinKStart
 * 
 * Description: Contains the configuration a Class
 * 
 * Created:     10.01.2015
 * 
 * Author:      matthias wagler - matthias@WMSSoft.de
 * 
 * Copyright:   Copyright 2015 by WMSSoft.net
 * 
 * License:     GPLv3
 * 
 * History:     10.01.2015 - matthias wagler matthias@WMSSoft.de   -   Created
 * 
 **********************************************************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WMSSoft.Lib.WinKStart.Abstract;

namespace WMSSoft.Lib.WinKStart.Model.Metadata
{
    /// <summary>
    /// Contains the Metadata for a Class
    /// </summary>
    public class CMetaClass : CModelBase
    {
        List<CMetaClassFilter> m_Filters = null;
        string m_Name = "";
        string m_Description = "";

        public CMetaClass()
        {
            m_Filters = new List<CMetaClassFilter>();
        }

        public List<CMetaClassFilter> Filters
        {
            get { return m_Filters; }
            set 
            { 
                m_Filters = value;
                OnPropertyChanged();
            }
        }

        /// <summary>
        /// ClassName
        /// </summary>
        public string Name
        {
            get { return m_Name; }
            set 
            { 
                m_Name = value;
                OnPropertyChanged();
            }
        }

        /// <summary>
        /// Class Description
        /// </summary>
        public string Description
        {
            get { return m_Description; }
            set 
            { 
                m_Description = value;
                OnPropertyChanged();
            }
        }
    }
}
